package com.example.leetcode.string;

import com.example.leetcode.string.common.StringUtils;

class Solution409 {
    public int longestPalindrome(String s) {
        return StringUtils.longestPalindrome(s);

    }
}

public class leetcode409 {
    public static void main(String[] args) {
        Solution409 solution409 = new Solution409();
        System.out.println(solution409.longestPalindrome("abccccdd"));
        System.out.println(solution409.longestPalindrome("aaaaaccc"));
        System.out.println(solution409.longestPalindrome("a"));
    }
}
